<?php
/**
 * Created by PhpStorm.
 * User: chniccs
 * Date: 2019-11-09
 * Time: 16:17
 */

namespace app\model;

/**用户分销关系表
 * Class AdminDistribution
 * @package app\app\model
 */
class AdminDistribution extends Base
{
    public function wxUserInfo()
    {
        return $this->hasOne('AppWxUser', 'id','uid')->field('nickname,head_img');
    }
}